package com.imooc.ad;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Description: TODO
 * @ClassName: SponorApplication
 * @Author: zhangzhongyu
 * @Date: 2019-10-12 14:35
 * @Version: 1.0
 */
@EnableFeignClients         // 可以调用其他的微服务
@EnableCircuitBreaker       // 断路器，也是为了实现监控
@EnableEurekaClient         // 能够从其他的微服务中获取到其他的微服务的信息
@SpringBootApplication
public class SponsorApplication {

    public static void main(String[] args) {
        SpringApplication.run(SponsorApplication.class, args);
    }
}
